package pers.lt.hibernatebeans;

import javax.persistence.*;

/**
 * Created by 18621 on 2016/7/7.
 */
@Entity(name = "OFFICESINFO")
public class OfficesInfoEntity {
    private String id;
    private String officesName;
    private String officesIns;
    private String officesCode;
    private String pid;

    @Id
    @Column(name = "ID")
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Basic
    @Column(name = "OFFICES_NAME")
    public String getOfficesName() {
        return officesName;
    }

    public void setOfficesName(String officesName) {
        this.officesName = officesName;
    }

    @Basic
    @Column(name = "OFFICES_INS")
    public String getOfficesIns() {
        return officesIns;
    }

    public void setOfficesIns(String officesIns) {
        this.officesIns = officesIns;
    }

    @Basic
    @Column(name = "OFFICES_CODE")
    public String getOfficesCode() {
        return officesCode;
    }

    public void setOfficesCode(String officesCode) {
        this.officesCode = officesCode;
    } 
    @Basic
    @Column(name = "PID")
    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }
}
